#include <jni.h>
#include <string>
#include "native-lib.cpp"

extern "C" JNIEXPORT jstring JNICALL
Java_com_beiming_ndkdemo_NdkTest_strFromJni(
        JNIEnv* env,
        jobject /* this */) {
    std::string hello = "strFromJni:Hello from C++";
    return env->NewStringUTF(hello.c_str());
}

void fun(){
    hello();
}
